/**
 *
 */
package cn.com.checne.model.domain;

import java.io.Serializable;
import java.util.Date;

import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

/**
 * 发布内容
 *
 * @author zy
 */
public class PostInfo implements Serializable {
    private static final long serialVersionUID = -7926172320700521706L;

    private int postId;
    private int cateId;
    private PostCategory postCategory;
    private int languageId;
    private LanguageInfo languageInfo;
    private String title = "";
    private String summary = "";
    private Date publishDate;
    private String publishFrom = "";
    private String author = "";
    private int contentType = 1;
    private String content = "";
    private String metaKeyword = "";
    private String metaContent = "";
    private int isShowIndex;
    private int isShowList;
    private int isTop;
    private String firstImage;

    public int getPostId() {
        return postId;
    }


    public void setPostId(int postId) {
        this.postId = postId;
    }


    public int getCateId() {
        return cateId;
    }


    public void setCateId(int cateId) {
        this.cateId = cateId;
    }


    public PostCategory getPostCategory() {
        return postCategory;
    }


    public void setPostCategory(PostCategory postCategory) {
        this.postCategory = postCategory;
    }


    public int getLanguageId() {
        return languageId;
    }


    public void setLanguageId(int languageId) {
        this.languageId = languageId;
    }


    public LanguageInfo getLanguageInfo() {
        return languageInfo;
    }


    public void setLanguageInfo(LanguageInfo languageInfo) {
        this.languageInfo = languageInfo;
    }


    public String getTitle() {
        return title;
    }


    public void setTitle(String title) {
        this.title = title;
    }


    public String getSummary() {
        return summary;
    }


    public void setSummary(String summary) {
        this.summary = summary;
    }


    public Date getPublishDate() {
        return publishDate;
    }


    public void setPublishDate(Date publishDate) {
        this.publishDate = publishDate;
    }


    public String getPublishFrom() {
        return publishFrom;
    }


    public void setPublishFrom(String publishFrom) {
        this.publishFrom = publishFrom;
    }


    public String getAuthor() {
        return author;
    }


    public void setAuthor(String author) {
        this.author = author;
    }


    public String getContent() {
        return content;
    }


    public void setContent(String content) {
        this.content = content;
    }


    public String getMetaKeyword() {
        return metaKeyword;
    }


    public void setMetaKeyword(String metaKeyword) {
        this.metaKeyword = metaKeyword;
    }


    public String getMetaContent() {
        return metaContent;
    }


    public void setMetaContent(String metaContent) {
        this.metaContent = metaContent;
    }


    public int getIsShowIndex() {
        return isShowIndex;
    }


    public void setIsShowIndex(int isShowIndex) {
        this.isShowIndex = isShowIndex;
    }


    public int getIsShowList() {
        return isShowList;
    }


    public void setIsShowList(int isShowList) {
        this.isShowList = isShowList;
    }


    public int getIsTop() {
        return isTop;
    }


    public void setIsTop(int isTop) {
        this.isTop = isTop;
    }


    public String getFirstImage() {
        return firstImage;
    }


    public void setFirstImage(String firstImage) {
        this.firstImage = firstImage;
    }

    public int getContentType() {
        return contentType;
    }

    public void setContentType(int contentType) {
        this.contentType = contentType;
    }

    public String toString() {
        return ToStringBuilder.reflectionToString(this,
                ToStringStyle.SHORT_PREFIX_STYLE);
    }


}
